package rpg.Utils
{

	/**
	 *全局变量
	 * @author hyy
	 *
	 */
	public class Val
	{
		public static const PRIORITY_LOW : int = 0;
		public static const PRIORITY_MIDDEN : int = 1;
		public static const PRIORITY_HIGH : int = 2;
		
		public static const BODY : String = "全身体";
		public static const RIGHTHAND : String = "右手装备";
		public static const ATTACKMENT1 : String = "附加三";
		public static const ATTACKMENT2 : String = "附件三";

		public static const actionStates : Array = ["单手近战" , "单手一连击" , "死亡" , "跳跃" , "移动" , "战斗站立" , "坐下" , "坐骑移动" , "坐骑战斗站立"];
		/**
		 * 攻击
		 */
		public static const ATTACK : int = 0;
		/**
		 * 施法
		 */
		public static const CASTSPELL : int = 1;
		/**
		 * 死亡
		 */
		public static const DEAD : int = 2;
		/**
		 * 跳
		 */
		public static const JUMP : int = 3;
		/**
		 * 移动
		 */
		public static const WALK : int = 4;
		/**
		 * 站立
		 */
		public static const STAND : int = 5;
		/**
		 * 坐下
		 */
		public static const SIT : int = 6;
		/**
		 * 骑马移动
		 */
		public static const RIDE_MOVE : int = 7;
		/**
		 * 骑马攻击
		 */
		public static const RIDE_ATTACT : int = 8;
		/**
		 * 闪烁
		 */
		public static const BLINK : int = 9;
		/**
		 * 冲锋
		 */
		public static const RUSH : int = 10;
		/**
		 * 击退
		 */
		public static const BEATBACK : int = 11;
		/**
		 * 受到攻击
		 */
		public static const BEENATTACK : int = 12;
		/**
		 * 击晕,昏迷
		 */
		public static const STUN : int = 12;


		//鼠标状态
		public static const MOUSE_TALK_CURSOR : int = 0;
		public static const MOUSE_SELECT_CURSOR : int = 1;
		public static const MOUSE_ATTACT_CURSOR : int = 2;
		public static const MOUSE_REPAIR_CURSOR : int = 3;

		//方向
		public static const SOUTH : int = 0;
		public static const WEST : int = 1;
		public static const EAST : int = 2;
		public static const NORTH : int = 3;
		public static const WEST_SOUTH : int = 4;
		public static const EAST_SOUTH : int = 5;
		public static const WEST_NORTH : int = 6;
		public static const EAST_NORTH : int = 7;

		//渲染层次
		public static const TOP : int = 1;
		public static const MIDDLE : int = 0;
		public static const BOTTOM : int = -1;
		/**
		 *友好
		 */
		public static const TEAM_FRIEND : int = 0;
		/**
		 *中立
		 */
		public static const TEAM_NEUTRAL : int = 1;
		/**
		 *敌对
		 */
		public static const TEAM_ENEMY : int = 2;


		public static const LOAD_LVEVEL_ROLE : int = 1000;
		public static const LOAD_LVEVEL_MAP : int = 1100;
		public static const LOAD_LVEVEL_ICO : int = 0;
	}
}